Expand description
§UNIC — UCD — Normalization
A component of unic
: Unicode and Internationalization Crates for Rust.
Unicode character properties for composition and decomposition.
extern crate unic_ucd_normal;
use unic_ucd_normal::compose;
fn main() {
assert_eq!(compose('A','\u{30a}'), Some('Å'));
}
Re-exports§
pub use crate::canonical_combining_class::CanonicalCombiningClass;
Modules§
- Accessor for
Canonical_Combining_Class
(ccc) property
Enums§
- Represents the Unicode character
Decomposition_Type
property.
Constants§
- UNIC component description.
- UNIC component name.
- UNIC component version.
- The Unicode version of data
Functions§
- Canonical Composition of the character.
- Canonical Decomposition of the character.
- Compatibility Decomposition of the character.
- Compose two characters into a single character, if possible. See Unicode Standard Annex #15 for more information.
- Compute canonical Unicode decomposition for character.
- Compute canonical or compatible Unicode decomposition for character.
- Return whether the given character is a combining mark (
General_Category=Mark
)